import *as React from 'react';
import { Route, Routes } from 'react-router-dom';
import Home from '@/pages/home/index';
import V2coding from '@/pages/v2coding/index';

const Router = () => {
    return (
        <Routes>
            <Route path="/" element={<Home />} />
            <Route path="/v2coding" element={<V2coding />} /> {/* 修正这里的组件名称 */}
            {/* 其他路由 */}
        </Routes>
    );
};

export default Router;